import request from '@/utils/request'

// 实时签署情况
export function getAllPage(params: any) {
    return request('/db-gateway/12301-api/contract/all/page', {
        params,
    });
}

// 游客来源地排行
export function getOriginRank(params: any) {
    return request('/db-gateway/12301-api/contract/all/zone/rank', {
        params,
    });
}// 游客目的地排行
export function getDestinationRank(params: any) {
    return request('/db-gateway/12301-api/contract/all/zone/destination/group', {
        params,
    });
}

// 景区电子合同排行
export function getScenicRank(params: any) {
    return request('/db-gateway/12301-api/contract/scenic/rank', {
        params,
    });
}// 行程天数
export function getNight(params: any) {
    return request('/db-gateway/12301-api/contract/all/night', {
        params,
    });
}// 总量
export function getStatistic(params: any) {
    return request('/db-gateway/12301-api/contract/all/statistic', {
        params,
    });
}// 趋势图
export function getTrend(params: any) {
    return request('/db-gateway/12301-api/contract/all/trend', {
        params,
    });
}// 旅行社排行
export function getRank(params: any) {
    return request('/db-gateway/12301-api/contract/all/agency/rank', {
        params,
    });
}

// 旅行社基础信息
export function getTravelDetail(params: any) {
    return request('/db-gateway/12301-api/agency/info/detail', {
        params,
    });
}

// 电子合同行程单
export function getContractDetail(params: any) {
    return request('/db-gateway/12301-api/lowPrice/v3/page', {
        params,
    });
}
